<?php
require 'Myjob.php';
require_once dirname(__FILE__) . '/../web/config.php';
$redis_dsn = $glob_config['redis']['host'].':'.$glob_config['redis']['port'];
putenv("REDIS_BACKEND=$redis_dsn");
// 引入队列的入口程序
$resque = dirname(__FILE__) . '/../vendor/chrisboulton/php-resque/resque.php';
require_once $resque;
